body
{
	font-family: "Helvetica Neue", Arial;
	margin: 0px;
}

h1
{
	position: fixed;
	top: 0px;
	left: 0px;
	width: 250px;
	height: 30px;
	margin: 0px;
	padding: 6px;
	
	color: white;
	background-color: #17333f;
	border-bottom: 4px solid #2f6780;
	font-size: 24px;
	font-weight: normal;
}

/*

#contents - the table of contents

#contents li is a section
#contents li ol li is an individual page

*/

#contents
{
	position: fixed;
	top: 47px;
	left: 0px;
	bottom: 0px;
	width: 249px;
	padding: 6px;
	overflow: auto;
	
	background-color: #f4f4f4;
	margin: 0px;
	border-right: 1px solid #ddd;
}

#contents, #contents ol
{
	padding-left: 6px;
	margin-left: 0px;
	overflow: display;
}

#contents li
{
	cursor: pointer;
	color: #333;
	font-size: 12px;
	margin-top: 12px;
	
	font-weight: bold;
	padding-left: 20px;
	background: url("img/book.png") top left no-repeat;
	line-height: 16px;
}

#contents li ol
{
	margin-top: 4px;
	position: relative;
	left: -20px;
	margin-bottom: 0px;
}

#contents li ol li
{
	list-style-type: none;
	font-weight: normal;
	background-image: none;
	padding-left: 15px;
	margin-top: 0px;
	line-height: 18px;
}

#contents li ol li:hover, #contents li ol li a:hover
{
	color: #4d4f97;
	text-decoration: underline;
}

#contents li ol a
{
	color: #333;
	text-decoration: none;
}

#contents li.open
{
	background-image: url("img/bookopen.png");
}

#contents li.selected
{
	background: url("img/youarehere.png") top left no-repeat;
}

/*

#credit - where you get your props

*/

#credit
{
	position: fixed;
	bottom: 0px;
	left: 0px;
	width: 250px;
	padding: 6px;
	
	font-size: 11px; 
	line-height: 125%;
}

#credit a
{
	color: #4d4f97;
	text-decoration: underline;
}

/*

#page - where page content lives

*/

#page
{
	position: absolute;
	top: 0px;
	left: 262px;
	bottom: 0px;
	right: 0px;
	background-color: white;
	padding: 10px 18px;
	
	font-size: 13px;
	line-height: 18px;
}

#page h2
{
	font-size: 40px;
	font-weight: normal;
	margin-top: 0px;
	margin-bottom: 32px;
	line-height: 40px;
}

#page a
{
	color: #4d4f97;
}

#page blockquote
{
	margin-top: 30px;
	border-left: 1px solid #999;
	margin-left: 60px;
	padding-left: 20px;
	margin-right: 80px;
	margin-bottom: 30px;
}

#page .source
{
	margin: -30px 80px 30px 0px;
	text-align: right;
}

#page code
{
	font: 12px Consolas, "Bitstream Vera Sans Mono", Monaco, "Courier New";
}

#page table, #page td, #page th
{
	border: 1px solid #999;
	border-collapse: collapse;
}

#page td, #page th
{
	padding: 6px;
}

#page td ul, #page td ol
{
	margin-top: 0px;
	margin-bottom: 0px;
}

#page td li
{
	margin-bottom: 0px;
}

#page th
{
	color: white;
	background-color: #bbb;
	text-align: left;
}

#page ul, ol
{
	margin: 24px 0px;
	padding-left: 80px;
}

#page li
{
	margin-bottom: 24px;
}

#page .info, #page .caution
{
	margin: 20px 80px;
	border: 1px solid #999;
	padding: 8px 8px 8px 56px;
	background-color: #fafafa;
	background-position: 8px 8px;
	background-repeat: no-repeat;
	min-height: 40px;
}

#page .info img, #page .caution img
{
	background-color: white;
	padding: 16px;
	border: 1px solid #e8e8e8;
}

#page .info
{
	background-image: url("img/info.png");
}

#page .caution
{
	background-image: url("img/caution.png");
}

#page .prev, #page .next
{
	font-size: 12px;
	height: 32px;
	line-height: 32px;
	cursor: pointer;
	padding-bottom: 16px;
}

#page .prev:hover, #page .next:hover
{
	color: #4d4f97;
	text-decoration: underline;
}

#page .prev
{
	float: left;
	padding-left: 40px;
	background: url("img/prev.png") top left no-repeat;
}

#page .next
{
	float: right;
	padding-right: 40px;
	background: url("img/next.png") top right no-repeat;
}

/*

#comments - where haloscan comments appear

*/

#comments
{
	margin: 20px 0px;
	border: 1px solid #999;
	padding: 8px;
	background-color: #fafafa;
	min-height: 40px;
}

#comments h3
{
	font-size: 16px;
	padding-left: 36px;
	background: url("img/comments.png") top left no-repeat;
	line-height: 32px;
	margin-top: 0px;
}

#comments table, #comments td
{
	border: none;
	margin: 0px;
}

#comments td p
{
	margin: 0px;
}
